<?php

return [
    'templatePath'  => __DIR__ . '/../view',

    'router' => array(
        'routes' => array(
            'home' => array(
                'type' => 'literal',
                'options' => array(
                    'route' => '/',
                    'defaults' => array(
                        'controller' => 'Application\Controller',
                        'action' => 'index'
                    )
                )
            )
        )
    ),

    'mainMenu'      => [
        [
            'title' => 'Home',
            'alias' => '',
        ],
        [
            'title' => 'News',
            'alias' => 'news',
            'items' => [
                [
                    'title' => 'BBC',
                    'alias' => 'news/bbc'
                ],
                [
                    'title' => 'TV-4',
                    'alias' => 'news/tv4',
                    'items' => [
                        [
                            'title' => 'BBC',
                            'alias' => 'contact'
                        ],
                        [
                            'title' => 'TV-4',
                            'alias' => 'contact/thanks.html',
                        ]
                    ]
                ]
            ]
        ]
    ],

    'adminMainMenu' => [
        [
            'title' => 'General settings',
            'alias' => 'admin'
        ],
        [
            'title' => 'Users',
            'alias' => 'admin/users'
        ],
        'login'     =>
            [
                'title' => 'Logout',
                'alias' => 'admin/logout'
            ]
    ]
];
